package com.home.free.entity;

import java.io.Serializable;

/**
 * @author gaotianjie
 */
public class Memory implements Serializable {
    /**
     * id
     */
    private Long id;
    /**
     * 设置最大内存 max
     */
    private Long maxMemory;
    /**
     * 总使用内存 total
     */
    private Long totalMemory;
    /**
     * 空闲内存 total
     */
    private Long freeMemory;
    /**
     * max - total + free;
     */
    private Long usableMemory;

    /**
     * 运行时间
     */
    private Integer runTime;

    /**
     * 创建时间
     */
    private Integer createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMaxMemory() {
        return maxMemory;
    }

    public void setMaxMemory(Long maxMemory) {
        this.maxMemory = maxMemory;
    }

    public Long getTotalMemory() {
        return totalMemory;
    }

    public void setTotalMemory(Long totalMemory) {
        this.totalMemory = totalMemory;
    }

    public Long getFreeMemory() {
        return freeMemory;
    }

    public void setFreeMemory(Long freeMemory) {
        this.freeMemory = freeMemory;
    }

    public Long getUsableMemory() {
        return usableMemory;
    }

    public void setUsableMemory(Long usableMemory) {
        this.usableMemory = usableMemory;
    }

    public Integer getRunTime() {
        return runTime;
    }

    public void setRunTime(Integer runTime) {
        this.runTime = runTime;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }
}
